package com.zhou.common.exception;

import com.zhou.common.model.response.ResultCode;

/**
 * 异常抛出类
 * @author zhouhao
 * @date  2021/3/23 11:33
 */
public class ExceptionCast {

    public static void cast(ResultCode resultCode){

        throw new CustomException(resultCode);
    }
}
